﻿namespace Eneta.Portal.Common.Dto
{
    /// <summary>
    /// Class for new items comments. 
    /// </summary>
    public class CommentDto : BaseDto 
    {
        /// <summary>
        /// Gets or sets the parent news item that owns the comment.
        /// </summary>
        public NewsItemDto Parent { get; set; }

        /// <summary>
        /// Gets or sets the body of comment.
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// Gets or sets the name of the user who inserted the comment.
        /// </summary>
        public string OwnerName { get; internal set; }

        public string OwnerUserName { get; set; }

        /// <summary>
        /// Gets or sets the profile id of the user who inserted the comment.
        /// </summary>
        public int OwnerProfileId { get; internal set;  }
    }
}
